﻿


/*
 * Copyright (C) 2018-2021 LEIDOS.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

 * {
    box-sizing: border-box
}

body {
    font-family: "Segoe UI",Arial,sans-serif;
    height: 100vh;
    width: 100vw;
    padding: 0vh 0vw 0vh 0vw;
    font-size: 20pt;
    line-height: 1.2; /***1.2 of font size**/
    overflow: hidden;
    margin:auto 0px ;
}


#messenger-main-div {
    text-align: center;
    background-color:#FFF; 
    height: 100vh;
}

/* Style the tab content */
.tabcontent {
    position: relative;
    padding: 5px 0vw;
    border: 1px solid #ccc;
    height:  calc(100% - 240px);
    background-color:  #F8F9FA;
    margin: 0 auto;
    display:flex;
    min-height: 240px;
    overflow: auto;
}
.custom-card-body{
    background-color: white;
}

div.card, div.col-6, div.col, div.custom-card-body{
 display: inline-block !important;
  text-align: left;
}
.block{
    display: block
}

div.card{
    box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.2), 0 10px 20px 0 rgba(0, 0, 0, 0.19);;
}

img.card-img-left{
    max-height: 100%;
    max-width: 30%;
    float: left;
}

div.card,div.card-body{
    margin-top: 15px;
    width: 100%;
    height: 200px;
    cursor: pointer;
}
#divMenuArea{
    width: 100%;
}
#divWidgetAreaEventManagement, #divWidgetAreaEmergencyResponse{
    width: 100%;
}
.event-management-title-div{
    font-weight: bolder;
    padding-left: 30%;
    text-align: left;
    margin: 10px;
}
/* MessageTitle */
.MessengerTitleFrame {
    height: 190px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    vertical-align: middle;
}
/* Rectangle 12 */
.MessengerTitleRec{   
    height: 190px;
    display: inline-block;
    margin: auto;
    width: 100%;
}

.Messenger_back_Div{
    height: 100%; 
    float: left;
    display: inline-block; 
    width:20%;
    position: relative;
    padding: 10px;
}

/* Messenger_back_arrow  */
.Messenger_back_arrow{
    display: none;
    cursor: pointer;     
    float: left; 
    height: 70%; 
    margin-top: 15px;
}

.Messenger_stop_Div{
    height: 100%; 
    float: right;
    display: flex; 
    max-width:20%;
    padding: 10px;
    position: relative;
}
#btnStop
{
    color: grey;
    font-size: 50pt; /***Stop btn size*/
    background-color: transparent !important;
    border: transparent !important;
}
#btnStop:hover
{
    color: red;
    cursor: pointer;
}

/* logo  */
.messenger-logo-div{
    height: 100%;  
    float: left;
    width:60%;    
}
.logo{
    height: 100%;  
    display: inline-block;
    max-width:60%;    
    margin-top: 10px;
}


.aceIconPanel{
    position: absolute;
    display: block;
    margin: auto;
    text-align: center;
    bottom: 10px;
    left: calc(50% - 110px);/***110px is half size of the image***/
}
.aceIcon{
    height: auto;
    width: auto;
}
 
.NoMsgAvailable{
    margin-top: 6%;
    font-weight: bolder;
}
  /* 
    ##Device = Tablets, Ipads (landscape)
    ##Screen = B/w 768px to 1024px
  */
  
  @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .Messenger{
        font-size: 80px;
    }
  }
  @media (min-width: 768px) and (max-width: 1024px) {      

    .Messenger{
        font-size: 70px;
    }
  } 
  /* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */
  
  @media (min-width: 700px) and (max-width: 767px) {
    .Messenger{
        font-size: 30pt;
    } 
  }

  /* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */
  
  @media (min-width: 26px) and (max-width: 699px)  {
   
    .MessengerTitleRec,.MessengerTitleFrame{   
        height: 60px;
    }
    .Messenger{
        font-size: 20pt;
    }
    
}


/*** scrollbar ***/
::-webkit-scrollbar {
    width: 1.5em;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
  background-color: gray;
  outline: 3px solid slategrey;
}


/*** Checkbox and Radiobutton Style ****/

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}




/*** Message Box ***/
div.message_box {
    display: block;
    position: relative;
    align: center;
    vertical-align: middle;
    text-align: center;
    margin: 10px;
    padding: 15px 35px 15px 30px;
    height: 50px;
    color: #404040;
    background-color: #ffffb3;/*  #e6e600; Yellow; */
    font-size: 14pt;
    font-weight: bold;
  /**  overflow: auto;**/
}

/*** Button ***/
.button_cav {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    font-bold: true;
    margin: 4px 2px;
    cursor: pointer;
    width: 100%;
    height: 75px;
    border-radius: 100px;
    transition: background-color .2s;
    border-radius: 100px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, .2);
}

.button_disabled {
    background-color: gray;
    cursor: not-allowed;
    opacity: 0.6;
}

.button_enabled {
    background-color: cornflowerblue; /* Blue */
}

.button_engaged {
    background-color: #4CAF50; /* Green */
}

.button_disengaged {
    background-color: #b32400; /* Red */
}

.button_active {
    background-color: #8600b3; /* Purple */
}

.button_inactive {
    background-color: #ff6600; /* Orange */
}

/*** UI Instructions ***/
#modalUIInstructions {
    display: none; /*Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
   /* overflow: auto;  Enable scroll if needed */
    background-color: rgba(0,0,0,0); /* Fully transparent */
    text-align: center;
    vertical-align:middle;
}

#modalUIInstructionsContent {
    position: relative;
    background-color: #fefefe;
    background-color: rgba(0,0,0,0); /* Fully transparent */
    margin: auto;
    padding: 0;
    width: 50%;
    font-size: 550px;
    color: #ff6600; /*orange*/
}


/*** MODAL ***/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
   /* overflow: auto;  Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    text-align: center;
}

/* Modal Popup */
.modal-header {
    padding: 2px 16px;
    background-color: #ffcc00; /* yellow */
    color: black;
    text-align: middle;
}

.modal-content { /* header text */
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    font-size: 18pt;
    font-weight: bold;
}

.modal-body {
    padding: 2px 20px;
    font-size: 18pt;
    font-weight: bold;
}

.modal-footer {
    padding: 10px 16px 10px 10px;
    background-color: #ffcc00;
    color: black;
}

/* Modal Button */
.btnModal{
    height: 50px;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    background-color:#336699;
    color: white;
    border-radius: 15px;
    font-size: 20px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

/* System Status Table */
.table-style1 {
    width: 100%;
    table-layout: fixed;
}

.col-style1 {
    vertical-align: top;
    width: 30%;
    max-width: 200px;
  /**  overflow-wrap: normal;**/
}

.section1 {
    color: #FFFFFF;
    background-color: #999999;
    vertical-align: top;
}

.col-title {
    width: 15%;
    font-weight: bold;
    background-color: #DCDCDC;
}

.col-style2a {
    width: 15%;
    font-weight: bold;
}

.col-style2b {
    width: 15%;
}

.hyphenate {
 -ms-word-break: break-all;
     word-break: break-all;

     /* Non standard for webkit*/
     word-break: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}
/* Map *
 * Always set the map height explicitly to define the size of the div
 * element that contains the map.
 */
#map {
    height: 550px;
}

#map-container {
position: relative;
height: 100vh; /* or a fixed height */
}

#marker-overlay {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.marker-item img {
    width: 32px;
    height: 32px;
    cursor: grab;
    pointer-events: none;
    image-rendering: auto;
    object-fit: contain;
    display: block;
}

.marker-item {
    cursor: grab;
}

.closed-label {
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
}

.speed-advisory-label {
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
}

/* Bottom left text */
 .bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
 .bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

/* Centered text */
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/*** Log Text Box content Style ****/
.logStatus {
    height: 400px;
    width: 98%;
   /** overflow: auto;***/
    background-color: #336699;
    color: white;
    font-family: sans-serif;
    padding: 10px;
}


footer {
    color: black;
    background-color: white;
    clear: both;
    height: 50px;
    width:90vw;
    margin: 0px 10px;
}
.footerPanel{
    width: 100%;
    clear: both;
    display: block;
}

/***2020-03-11 13:44:52***/
.SystemDateTime{
    padding: 0px 10px;
    font-family: Roboto;
    font-weight: normal;
    display: block;
    text-align: left;
    color: #000000;    
    width: calc(35% - 10px);
    float: left;
    font-size: 80%;
}
.FHWALogo{
    height:40px;
}

/* CarmaMessenger version X.Y.Z-something */
.systemversion{
    padding: 10px;
    font-family: Roboto;
    font-weight: normal;
    display: block;
    text-align: center;
    color: #000000;
    width: calc(30% - 10px);
    float: left;
    font-size: 80%;
}

/* Copyright © Leidos, 2020 */
.copyright{
    padding: 10px;
    float: left;
    width: calc(35% - 10px);
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    text-align: right;
    display: block;
    color: #000000;
    font-size: 80%;
}

/*** safty Log list*****/
@media (min-width: 992px) and (max-width: 1200px) and (orientation: landscape) {
    body{
            font-size: 20pt;
        }     
}
@media (min-width: 993px) and (max-width: 1200px) and (orientation: landscape) {
    body{
            font-size: 20pt;
        }     
}
@media (min-width: 769px) and (max-width: 992px) {
    body{
            font-size: 18pt;
        }         
}
@media (min-width: 600px) and (max-width: 768px) {
    body{
            font-size: 14pt;
        }           
}
@media  (max-width: 599px) {
           
}